package edu.hawaii.ics314.ical.controller;

public class AppMain {
	
	public static void main(String[] args) {
		boolean restart = false;
		do {
			try {
				restart = false;
				new MainMenuView().show();
			} catch(Exception e) {
				System.out.println("The application has encountered a problem and will now restart.\n\nError Detail:");
				e.printStackTrace(System.out);
				System.out.println();
				restart = true;
			}
		} while(restart);
	}
	
}
